package main.model;

import y.base.Node;


/**
 * 
 * bean holds the information from a node to a label in a form tree
 * @author YuanAn
 *
 */
public class NodeAndLabel {
	
	private Node node;//the ontology node
	private String label;//form tree label
	
	public NodeAndLabel(Node n, String l){
		node = n;
		label = l;
	}
	
	//getter
	
	public Node getNode(){
		return node;
	}
	
	public String getLabel(){
		return label;
	}

}
